Skip to content

Add port conflict detection and test #10

Merged
Jeck0v merged 1 commit intomainfrom
feat/port-conflict-detection
Sep 17, 2025
Merged

Add port conflict detection and test #10
Jeck0v merged 1 commit intomainfrom
feat/port-conflict-detection

Conversation

@Jeck0v
Copy link
Copy Markdown
Owner

@Jeck0v Jeck0v commented Sep 17, 2025

  1. Port conflict detection compose.rs
    • Automatically detects duplicate host ports between services
    • Clear error messages with alternative port suggestions
  2. Comprehensive integration tests tests/integration/error_handling_test.rs
    • 4 new integration tests following the documented structure
    • Tests via CLI with assert_cmd and predicates
    • Fixture files created in tests/fixtures/
  3. Maintained unit tests - compose.rs:tests
    • Tests for the extract_host_port() and generate_port_suggestions() utility functions
    • Basic generation test maintained

@Jeck0v Jeck0v self-assigned this Sep 17, 2025
@Jeck0v Jeck0v added the enhancement New feature or request label Sep 17, 2025
@Jeck0v Jeck0v linked an issue Sep 17, 2025 that may be closed by this pull request
@Jeck0v Jeck0v merged commit d2feec7 into main Sep 17, 2025
1 check passed
@Jeck0v Jeck0v deleted the feat/port-conflict-detection branch September 17, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ISSUE #4 Port Conflict Detection

1 participant